﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="OcorrenciaFormulario.aspx.cs" Inherits="OcorrenciaFormulario" Title="Cadastro - Ocorrência" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <p>
        <asp:TextBox ID="txt_telefone" runat="server"       
        
            
            style="z-index: 1; left: 579px; top: 46px; position: absolute; width: 135px; height: 19px" 
            TabIndex="2"></asp:TextBox>
    <asp:Panel ID="Panel5" runat="server" 
        style="z-index: 1; left: 0px; top: 0px; position: absolute; height: 19px; width: 955px">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:Label ID="Label2" runat="server" Text="Cadastro de Ocorrência:" 
            Font-Bold="True" Font-Names="Trebuchet MS" Font-Size="10pt" 
            ForeColor="#000099"></asp:Label>
    </asp:Panel>
    <asp:TextBox ID="txt_vitimas_fatais" runat="server" 
            
        
        
        style="z-index: 1; left: 574px; top: 144px; position: absolute; width: 340px; height: 19px" 
        TabIndex="5"></asp:TextBox>
    <asp:TextBox ID="txt_observacao" runat="server" 
            
        
        
        style="z-index: 1; left: 103px; top: 333px; position: absolute; width: 340px; height: 38px" 
        TextMode="MultiLine" TabIndex="10"></asp:TextBox>
    <asp:TextBox ID="txt_vitimas_feridas" runat="server" 
            
        
        
        style="z-index: 1; left: 104px; top: 144px; position: absolute; width: 340px; height: 19px" 
        TabIndex="4"></asp:TextBox>
    <asp:TextBox ID="txt_nome" runat="server" 
            
        
        style="z-index: 1; left: 104px; top: 44px; position: absolute; width: 340px; height: 19px" 
        TabIndex="1"></asp:TextBox>
    &nbsp;<asp:Panel ID="Panel7" runat="server" 
        
        style="z-index: 1; left: 499px; top: 37px; position: absolute; height: 33px; width: 77px; right: 379px">
        <asp:Label ID="Label4" runat="server" Text="Telefone do Solicitante:" Font-Names="Trebuchet MS" 
            Font-Size="9pt" ForeColor="#000099"></asp:Label>
    </asp:Panel>
    <asp:Panel ID="Panel8" runat="server" 
        
        
        style="z-index: 1; left: 31px; top: 95px; position: absolute; height: 33px; width: 68px; right: 856px">
        <asp:Label ID="Label5" runat="server" Text="Tipo de Ocorrência:" Font-Names="Trebuchet MS" 
            Font-Size="9pt" ForeColor="#000099"></asp:Label>
    </asp:Panel>
    <asp:Panel ID="Panel6" runat="server" 
        
        style="z-index: 1; left: 31px; top: 35px; position: absolute; height: 33px; width: 68px; right: 856px">
        <asp:Label ID="Label3" runat="server" Text="Nome do Solicitante:" Font-Names="Trebuchet MS" 
            Font-Size="9pt" ForeColor="#000099"></asp:Label>
    </asp:Panel>
    </p>
    <p>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:SIGOTConnectionString %>" 
            SelectCommand="SELECT * FROM [tipo_ocorrencia]" ></asp:SqlDataSource>
            
        <asp:DropDownList ID="ddl_tipo_ocorrencia" runat="server" 
            DataSourceID="SqlDataSource1" DataTextField="descricao" 
            DataValueField="codigo" 
            style="z-index: 1; left: 106px; top: 103px; position: absolute" 
            TabIndex="3" >
        </asp:DropDownList>
    </p>
    <p>
        &nbsp;<asp:Panel ID="Panel10" runat="server" 
        
        
        
        style="z-index: 1; left: 501px; top: 135px; position: absolute; height: 33px; width: 68px; right: 386px">
        <asp:Label ID="Label7" runat="server" Text="Vítimas Fatais:" Font-Names="Trebuchet MS" 
            Font-Size="9pt" ForeColor="#000099"></asp:Label>
    </asp:Panel>
    <asp:Panel ID="Panel11" runat="server" 
              
        
        style="z-index: 1; left: 31px; top: 328px; position: absolute; height: 33px; width: 68px; right: 856px">
        <asp:Label ID="Label8" runat="server" Text="Observação:" Font-Names="Trebuchet MS" 
            Font-Size="9pt" ForeColor="#000099"></asp:Label>
    </asp:Panel>
    <asp:Panel ID="Panel13" runat="server" 
        
        
        
        
        style="z-index: 1; left: 501px; top: 185px; position: absolute; height: 18px; width: 68px; right: 386px">
        <asp:Label ID="Label10" runat="server" Text="Logradouro:" Font-Names="Trebuchet MS" 
            Font-Size="9pt" ForeColor="#000099"></asp:Label>
    </asp:Panel>
    <asp:Panel ID="Panel15" runat="server" 
        
        
        
        
        
        
        style="z-index: 1; left: 500px; top: 278px; position: absolute; height: 36px; width: 68px; right: 387px">
        <asp:Label ID="Label12" runat="server" Text="Número da Viatura:" Font-Names="Trebuchet MS" 
            Font-Size="9pt" ForeColor="#000099"></asp:Label>
    </asp:Panel>
    <asp:Panel ID="Panel14" runat="server" 
        
        
        
        
        
        style="z-index: 1; left: 31px; top: 287px; position: absolute; height: 36px; width: 68px; right: 856px">
        <asp:Label ID="Label11" runat="server" Text="Nome do Agente:" Font-Names="Trebuchet MS" 
            Font-Size="9pt" ForeColor="#000099"></asp:Label>
    </asp:Panel>
    <asp:Panel ID="Panel16" runat="server" 
        
        
        
        
        
        style="z-index: 1; left: 31px; top: 229px; position: absolute; height: 33px; width: 68px; right: 856px">
        <asp:Label ID="Label13" runat="server" Text="Ponto de Referência:" Font-Names="Trebuchet MS" 
            Font-Size="9pt" ForeColor="#000099"></asp:Label>
    </asp:Panel>
    <asp:Panel ID="Panel12" runat="server" 
        
        
        
        
        style="z-index: 1; left: 31px; top: 185px; position: absolute; height: 18px; width: 68px; right: 856px">
        <asp:Label ID="Label9" runat="server" Text="Bairro:" Font-Names="Trebuchet MS" 
            Font-Size="9pt" ForeColor="#000099"></asp:Label>
    </asp:Panel>
    <asp:Panel ID="Panel9" runat="server" 
        
        
        
        style="z-index: 1; left: 31px; top: 135px; position: absolute; height: 33px; width: 68px; right: 856px">
        <asp:Label ID="Label6" runat="server" Text="Vítimas Feridas:" Font-Names="Trebuchet MS" 
            Font-Size="9pt" ForeColor="#000099"></asp:Label>
    </asp:Panel>
    <p>
        &nbsp;</p>
    </p>
    <p title="Cadastro - Ocorrência">
        <asp:DropDownList ID="ddl_bairro" runat="server" 
            style="z-index: 1; left: 105px; top: 185px; position: absolute" 
            DataSourceID="SqlDataSource3" DataTextField="nome" DataValueField="codigo" 
            TabIndex="6">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource3" runat="server" 
            ConnectionString="<%$ ConnectionStrings:SIGOTConnectionString %>" 
            SelectCommand="SELECT * FROM [bairro]"></asp:SqlDataSource>
    <asp:TextBox ID="txt_observacao0" runat="server" 
            
        
        
        style="z-index: 1; left: 102px; top: 226px; position: absolute; width: 340px; height: 38px" 
        TextMode="MultiLine" TabIndex="10"></asp:TextBox>
    </p>
    <p>
        <asp:DropDownList ID="ddl_agente" runat="server" 
            style="z-index: 1; left: 104px; top: 288px; position: absolute; width: 135px; height: 22px;" 
            DataSourceID="SqlDataSource4" DataTextField="descricao" 
            DataValueField="codigo" TabIndex="8">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource4" runat="server" 
            ConnectionString="<%$ ConnectionStrings:SIGOTConnectionString %>" 
            SelectCommand="SELECT * FROM [agente]"></asp:SqlDataSource>
        <asp:DropDownList ID="ddl_viatura" runat="server" 
            style="z-index: 1; left: 577px; top: 283px; position: absolute" 
            DataSourceID="SqlDataSource5" DataTextField="numero" DataValueField="id" 
            TabIndex="9">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource5" runat="server" 
            ConnectionString="<%$ ConnectionStrings:SIGOTConnectionString %>" 
            SelectCommand="SELECT * FROM [viatura]"></asp:SqlDataSource>
    </p>
    <p title="Cadastro - Ocorrência">
        <asp:DropDownList ID="ddl_logradouro" runat="server" 
            style="z-index: 1; left: 579px; top: 185px; position: absolute" 
            DataSourceID="SqlDataSource2" DataTextField="descricao" 
            DataValueField="id" TabIndex="7">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
            ConnectionString="<%$ ConnectionStrings:SIGOTConnectionString %>" 
            SelectCommand="SELECT * FROM [logradouro]"></asp:SqlDataSource>
    </p>
    <p>
    <asp:Button ID="btn_salvar" runat="server" onclick="btn_salvar_Click" 
        
        style="z-index: 1; left: 35px; top: 383px; position: absolute; width: 92px; right: 828px;" 
        Text="       Salvar" TabIndex="11" />
        <asp:Image ID="Image14" runat="server" 
            ImageUrl="~/imagens/fatia/formulario/salvar.png" 
            
            
            
            
            
            style="z-index: 1; left: 40px; top: 386px; position: absolute; height: 21px; width: 28px" />
        
        <input id="Button2" type="button" value = "    Voltar" onclick="history.go(-1)"             
            style="z-index: 1; left: 141px; top: 384px; position: absolute; width: 92px; right: 722px;" /></p>
            <asp:Image ID="Image15" runat="server"  
            style="z-index: 1; left: 150px; top: 389px; position: absolute; height: 19px; width: 25px" 
            ImageUrl="~/imagens/fatia/formulario/voltar.png" />
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
</asp:Content>


<asp:Content ID="Content6" runat="server" 
    contentplaceholderid="ContentPlaceHolder3">
            <asp:Label ID="Label14" runat="server" Font-Bold="True" 
    Font-Names="Trebuchet MS" Font-Size="9pt" ForeColor="#666666" 
    Text="&gt; Ocorrência &gt; Cadastro de Ocorrência"></asp:Label>


</asp:Content>



